<%@ taglib uri="/WEB-INF/vectrics.tld" prefix="vectrics" %>
<%@ taglib uri="/WEB-INF/struts-bean.tld" prefix="bean" %>
<%@ taglib uri="/WEB-INF/struts-html.tld" prefix="html" %>
<%@ taglib uri="/WEB-INF/struts-logic.tld" prefix="logic" %>
<%@ taglib uri="/WEB-INF/struts-tiles.tld" prefix="tiles" %>

<%@ page import="org.vectrics.company.web.struts.*" %>


<jsp:useBean id="companyForm" class="org.vectrics.company.web.struts.CompanyForm" scope="request"/>
<%
	String companyId = request.getParameter("companyId");
%>

<table width="100%">
	<tr>
		<td valign="top">
			<font><b>Company: &nbsp; <bean:write name="companyForm" property="name"/></font> </b>
			<br>
			<vectrics:companyPersonList companyId="<%=companyId%>"/>
		</td>
		
		<td valign="top" align="right">
			<table>
				<tr>
					<td>
						<form action="/hrs-intranet/admin/company/view.do" method="POST">
							<input type="hidden" name="companyId" value="<%=companyId%>">
							<vectrics:formButton 
									code="button.param" 
									phraseCode="button.company.view" 
									elementId="company.view.btn"
									value="submit" 
									name="submit"/>
							
						</form>
					</td>
				</tr>
			</table>
		</td>
	</tr>
</table>
